using Microsoft.Xna.Framework;
using XNgine.Util;

namespace XNgine.ObjectManagement.Infos
{
    public struct DimensionInfo
    {
        public Vector3 Position { get; set; }
        public Quaternion Orientation { get; set; }
        public Vector3 Scaling { get; set; }

        public Matrix World
        {
            get
            {
                return MathUtil.CreateWorldMatrix(Position, Orientation, Scaling);
            }
        }
    }
}